package com.vaasplus.bms;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan("com.vaasplus.bms.dao.mapper")
public class SpringBootMyBatisDemo02Application /*extends SpringBootServletInitializer*/ {

    public static void main(String[] args) {
        SpringApplication.run(SpringBootMyBatisDemo02Application.class, args);
    }


    //告诉web容器：这就是程序的启动入口
   /* @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(SpringBootMyBatisDemo02Application.class);
    }*/
}
